#ifndef OBJECTMANAGER_H_
#define OBJECTMANAGER_H_

#include "Header.h"
#include "Camera.h"
#include "LightSource.h"
#include "Cube3D.h"
#include "Object3D.h"
#include "GraphicsManager.h"

typedef vector<Object3D *> ObjectList;
typedef ObjectList::iterator ObjectIterator;

class ObjectManager
{
private:
	ObjectList objects;
	FrameBuffer shadowBuffer;
public:
	Camera camera;
	LightSource lightSource;
	bool useLight;
	int skyBox;

	ObjectManager();
	virtual ~ObjectManager();
	virtual void AddObject(Object3D *object);
	virtual void Render();
};

#endif
